package org.naigu.peach.biz;

import org.naigu.peach.biz.form.RegForm;
import org.naigu.peach.dal.dataobject.UserDO;
import guda.grape.autogen.common.page.BaseQuery;
import guda.grape.autogen.common.page.BizResult;

public interface UserBiz {

        BizResult detail(long id);

        BizResult list(BaseQuery baseQuery);

        BizResult delete(long id);

        BizResult create(UserDO userDO);

        BizResult update(UserDO userDO);


        BizResult reg(RegForm regForm);

         BizResult validatorEmail(String email, String code);


}
